DOCUMENT:Q103495 24-SEP-1993 [W_NT] TITLE :Modifying USERDEF Hive So That New Users Get Defined Settings PRODUCT :Windows NT PROD/VER:3.10 OPER/SYS:WINDOWS KEYWORDS: ------------------------------------------------------------------ The information in this article applies to: - Microsoft Windows NT operating system version 3.1 - Microsoft Windows NT Advanced Server version 3.1 ------------------------------------------------------------------ WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk. SUMMARY ======= Under Windows NT, you can modify the USERDEF hive so that all newly created users inherit certain settings. Anything that can be defined or modified in HKEY_CURRENT_USER can also be set in the USERDEF hive (for example, colors, screen savers, program groups, sounds, and cursors). MORE INFORMATION ================ CAUTION: Modifying the Registry can harm your system. Query on the following keywords in the Microsoft Knowledge Base for details: keyreg and warning and ntadsrv To view or modify the USERDEF hive, do the following: 1. Start Registry Editor by choosing Run from the File menu of Program Manager, typing "regedt32" (without the quotation marks), and pressing ENTER. 2. Select the "HKEY_USERS on Local Machine" window. 3. From the Registry menu, choose Load Hive. 4. From the C:\WINNT\SYSTEM32\CONFIG (or equivalent) directory, select the USERDEF file. 5. In the Key Name field, type "USERDEF" (without the quotation marks). 6. Modify the USERDEF subkeys as desired. 7. From the Registry menu, choose Unload Hive, and choose the Yes button. 8. Quit Registry Editor. Now when you create a new user from User Manager, the new user's hive will contain the modified information. Additional reference words: 3.10 default groups KBCategory: KBSubCategory: howto winnt ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1993.